from sklearn.neural_network import MLPClassifier

X = [
    [0, 0],
    [1, 1]
]
y = [0, 1]

clf = MLPClassifier(
    solver='sgd',
    alpha=1e-5,
    hidden_layer_sizes=(5, 2),
    random_state=1,
    max_iter=2000
)
clf = clf.fit(X, y)

temp = clf.predict([[2, -1]])
print(temp)

print([coef.shape for coef in clf.coefs_])
print([coef.shape for coef in clf.intercepts_])
